//
//  MycollectionCell.m
//  u76ho
//
//  Created by m-air-01 on 15/12/29.
//  Copyright © 2015年 LV. All rights reserved.
//

#import "MycollectionCell.h"

@implementation MycollectionCell

- (void)awakeFromNib {
    // Initialization code
    _headerImgV.layer.masksToBounds = YES;
    _headerImgV.layer.cornerRadius = _headerImgV.frame.size.height/2;
}

-(void)setModel:(MyCollectionListModel *)model
{
    _model = model;
    [_headerImgV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",U76HOURL,model.headpic]] placeholderImage:[UIImage imageNamed:@"发现－默认logo"]];
    _firstLab.text = model.username;
    _secondLab.text = model.slogo;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
